<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>订单{$archivesData.title}</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta content="在线支付页面" name="description" />
        <meta content="艾客网络在线付款订单页" name="author" />
        <!-- App favicon -->
        <link rel="shortcut icon" href="assets/images/favicon.ico">

        <!-- App css -->
       <link href="/public/assets/css/icons.min.css" rel="stylesheet" type="text/css" />
        <link href="/public/assets/css/app.min.css" rel="stylesheet" type="text/css" />

    </head>

    <body>

        <!-- Begin page -->
        <div class="wrapper">

            <!-- ========== Left Sidebar Start ========== -->
            {include file="public/left" /}
            <!-- Left Sidebar End -->

            <!-- ============================================================== -->
            <!-- Start Page Content here -->
            <!-- ============================================================== -->

            <div class="content-page">
                <div class="content">

                    <!-- Topbar Start -->
                  {include file="public/top" /}
                    <!-- end Topbar -->

                    <!-- Start Content-->
                    <div class="container-fluid">
                        
                        <!-- start page title -->
                        <div class="row">
                            <div class="col-12">
                                <div class="page-title-box">
                                    <div class="page-title-right">
                                        <ol class="breadcrumb m-0">
                                            <li class="breadcrumb-item"><a href="/">首页</a></li>
                                         
                                            <li class="breadcrumb-item active">订单详情</li>
                                        </ol>
                                    </div>
                                    <h4 class="page-title">订单详情</h4>
                                </div>
                            </div>
                        </div>     
                        <!-- end page title --> 

                        <div class="row">
                            <div class="col-12">
                                <div class="card">
                                    <div class="card-body">

                                        <!-- Invoice Logo-->
                                        <!--<div class="clearfix">-->
                                        <!--    <div class="float-left mb-3">-->
                                        <!--        <img src="assets/images/logo-light.png" alt="" height="18">-->
                                        <!--    </div>-->
                                        <!--    <div class="float-right">-->
                                        <!--        <h4 class="m-0 d-print-none">订单信息</h4>-->
                                        <!--    </div>-->
                                        <!--</div>-->

                                        <!-- Invoice Detail-->
                                        <!--<div class="row">-->
                                        <!--    <div class="col-sm-6">-->
                                        <!--        <div class="float-left mt-3">-->
                                        <!--            <p><b>亲爱的</b></p>-->
                                        <!--            <p class="text-muted font-13">请确认订单信息无误在进行付款，付款后源码自动发货。</p>-->
                                        <!--        </div>-->
            
                                        <!--    </div>
                                        <!--    <div class="col-sm-4 offset-sm-2">-->
                                        <!--        <div class="mt-3 float-sm-right">-->
                                        <!--            <p class="font-13"><strong>下单时间: </strong> &nbsp;&nbsp;&nbsp;{$orderressData.time}</p>-->
                                        <!--            <p class="font-13"><strong>订单状态: </strong> <span class="badge badge-success float-right">待支付</span></p>-->
                                        <!--            <p class="font-13"><strong>订单号: </strong> <span class="float-right">{$orderressData.orders}</span></p>-->
                                        <!--        </div>-->
                                        <!--    </div>
                                        <!--</div>-->
                                        <!-- end row -->
            
                                       <!-- <div class="row mt-4">-->
                                       <!--     <div class="col-sm-4">-->
                                       <!--         <h6>本站承诺：</h6>-->
                                       <!--         <address>-->
                                       <!--             购买单源码的用户购买后不会安装的，可在购买后补差价选择付费安装<br>-->
                                       <!--             所有套餐均为自动发货，付款成功后即可获取下载地址<br>-->
                                       <!--             本站所有出售源码一经更新，老用户可免费跟新<br>-->
                                       <!--             购买本站源码后请自行保存源码，如遇源码下架。本站则不保存下载地址-->
                                       <!--         </address>-->
                                       <!--     </div> 
            
                                       <!-- end col-->
            
                                         
                                       <!-- </div>    -->
                                        <!-- end row -->        
    
                                        <div class="row">
                                            <div class="col-12">
                                                <div class="table-responsive">
                                                    <table class="table mt-4">
                                                        <thead>
                                                        <tr><th>#</th>
                                                            <th>商品名称</th>
                                                            <th>订单号</th>
                                                            <th>套餐选择</th>
                                                            <th class="text-right">订单金额</th>
                                                        </tr></thead>
                                                        <tbody>
                                                        <tr>
                                                            <td>1</td>
                                                            <td>
                                                                <b>{$archivesData.title}</b> <br/>
                                                            
                                                            </td>
                                                            <td>{$orderressData.orders}</td>
                                                            <td>{$fangshi}</td>
                                                            <td class="text-right">￥{$orderressData.amount}</td>
                                                        </tr>
                                                   
    
                                                        </tbody>
                                                    </table>
                                                </div> <!-- end table-responsive-->
                                            </div> <!-- end col -->
                                        </div>
                                        <!-- end row -->

                                        <div class="row">
                                            <div class="col-sm-6">
                                                <div class="clearfix pt-3">
                                                    <h6 class="text-muted">注意事项:</h6>
                                                    <small>
        本站出售所有商品均为虚拟商品，因虚拟商品的可复制性，因此所有商品一经售出概不退换！但本站可保证所有源码的可用性！
                                                    </small>
                                                </div>
                                            </div> <!-- end col -->
                                            <div class="col-sm-6">
                                                <div class="float-right mt-3 mt-sm-0">
                                           
                                                    <p><b>订单金额:</b> <span class="float-right"></span></p>
                                                    <h3>￥{$orderressData.amount}元</h3>
                                                </div>
                                                <div class="clearfix"></div>
                                            </div> <!-- end col -->
                                        </div>
                                        <!-- end row-->
                                      
   
                                        <div class="d-print-none mt-4">
                                             <div class="text-right">
                                             {if condition="$cate eq 2"}
                                             <form action="/index/epay" method="post" class="btn btn-primary"> 
                                                  <input type="hidden" name="orerres" value="{$orerres}">
                                                  <input type="hidden" name="paytype" value="wxpay">
                                              <button class="btn btn-primary" type="submit"> 微信支付</button>
                                               </form>  
                                                 <form action="/index/epay" method="post" class="btn btn-info">
                                                      <input type="hidden" name="orerres" value="{$orerres}">
                                                      <input type="hidden" name="paytype" value="alipay">
                                              <button class="btn btn-info" type="submit"> 支付宝支付 </button>
                                              </form> 
                                               {else /}
                                                
                                                <form action="/index/user/balancepay" method="post" class="btn btn-primary"> 
                                                  <input type="hidden" name="orerres" value="{$orerres}">
                                              <button class="btn btn-primary" type="submit"> 余额支付</button>
                                               </form> 
                                                <form action="/index/epay" method="post" class="btn btn-primary"> 
                                                  <input type="hidden" name="orerres" value="{$orerres}">
                                                  <input type="hidden" name="paytype" value="wxpay">
                                              <button class="btn btn-primary" type="submit"> 微信支付</button>
                                               </form>  
                                                 <form action="/index/epay" method="post" class="btn btn-info">
                                                      <input type="hidden" name="orerres" value="{$orerres}">
                                                      <input type="hidden" name="paytype" value="alipay">
                                              <button class="btn btn-info" type="submit"> 支付宝支付 </button>
                                              </form> 
                                              {/if}
                                            </div>
                                        </div>   
                                   
                                        <!-- end buttons -->

                                    </div> <!-- end card-body-->
                                </div> <!-- end card -->
                            </div> <!-- end col-->
                        </div>
                        <!-- end row -->
                        
                    </div> <!-- container -->

                </div> <!-- content -->

                <!-- Footer Start -->
                 {include file="public/foot" /}
                <!-- end Footer -->

            </div>

            <!-- ============================================================== -->
            <!-- End Page content -->
            <!-- ============================================================== -->


        </div>
        <!-- END wrapper -->


        <!-- Right Sidebar -->
        <div class="right-bar">

            <div class="rightbar-title">
                <a href="javascript:void(0);" class="right-bar-toggle float-right">
                    <i class="dripicons-cross noti-icon"></i>
                </a>
                <h5 class="m-0">Settings</h5>
            </div>

            <div class="slimscroll-menu rightbar-content">

                <!-- Settings -->
                <hr class="mt-0" />
                <h5 class="pl-3">Basic Settings</h5>
                <hr class="mb-0" />

                <div class="p-3">
                    <div class="custom-control custom-checkbox mb-2">
                        <input type="checkbox" class="custom-control-input" id="notifications-check" checked>
                        <label class="custom-control-label" for="notifications-check">Notifications</label>
                    </div>

                    <div class="custom-control custom-checkbox mb-2">
                        <input type="checkbox" class="custom-control-input" id="api-access-check">
                        <label class="custom-control-label" for="api-access-check">API Access</label>
                    </div>

                    <div class="custom-control custom-checkbox mb-2">
                        <input type="checkbox" class="custom-control-input" id="auto-updates-check" checked>
                        <label class="custom-control-label" for="auto-updates-check">Auto Updates</label>
                    </div>

                    <div class="custom-control custom-checkbox mb-2">
                        <input type="checkbox" class="custom-control-input" id="online-status-check" checked>
                        <label class="custom-control-label" for="online-status-check">Online Status</label>
                    </div>

                    <div class="custom-control custom-checkbox mb-2">
                        <input type="checkbox" class="custom-control-input" id="auto-payout-check">
                        <label class="custom-control-label" for="auto-payout-check">Auto Payout</label>
                    </div>

                </div>


                <!-- Timeline -->
                <hr class="mt-0" />
                <h5 class="pl-3">Recent Activity</h5>
                <hr class="mb-0" />
                <div class="pl-2 pr-2">
                    <div class="timeline-alt">
                        <div class="timeline-item">
                            <i class="mdi mdi-upload bg-info-lighten text-info timeline-icon"></i>
                            <div class="timeline-item-info">
                                <a href="#" class="text-info font-weight-bold mb-1 d-block">You sold an item</a>
                                <small>Paul Burgess just purchased “Hyper - Admin Dashboard”!</small>
                                <p class="mb-0 pb-2">
                                    <small class="text-muted">5 minutes ago</small>
                                </p>
                            </div>
                        </div>

                        <div class="timeline-item">
                            <i class="mdi mdi-airplane bg-primary-lighten text-primary timeline-icon"></i>
                            <div class="timeline-item-info">
                                <a href="#" class="text-primary font-weight-bold mb-1 d-block">Product on the Bootstrap Market</a>
                                <small>Dave Gamache added
                                    <span class="font-weight-bold">Admin Dashboard</span>
                                </small>
                                <p class="mb-0 pb-2">
                                    <small class="text-muted">30 minutes ago</small>
                                </p>
                            </div>
                        </div>

                        <div class="timeline-item">
                            <i class="mdi mdi-microphone bg-info-lighten text-info timeline-icon"></i>
                            <div class="timeline-item-info">
                                <a href="#" class="text-info font-weight-bold mb-1 d-block">Robert Delaney</a>
                                <small>Send you message
                                    <span class="font-weight-bold">"Are you there?"</span>
                                </small>
                                <p class="mb-0 pb-2">
                                    <small class="text-muted">2 hours ago</small>
                                </p>
                            </div>
                        </div>

                        <div class="timeline-item">
                            <i class="mdi mdi-upload bg-primary-lighten text-primary timeline-icon"></i>
                            <div class="timeline-item-info">
                                <a href="#" class="text-primary font-weight-bold mb-1 d-block">Audrey Tobey</a>
                                <small>Uploaded a photo
                                    <span class="font-weight-bold">"Error.jpg"</span>
                                </small>
                                <p class="mb-0 pb-2">
                                    <small class="text-muted">14 hours ago</small>
                                </p>
                            </div>
                        </div>

                        <div class="timeline-item">
                            <i class="mdi mdi-upload bg-info-lighten text-info timeline-icon"></i>
                            <div class="timeline-item-info">
                                <a href="#" class="text-info font-weight-bold mb-1 d-block">You sold an item</a>
                                <small>Paul Burgess just purchased “Hyper - Admin Dashboard”!</small>
                                <p class="mb-0 pb-2">
                                    <small class="text-muted">1 day ago</small>
                                </p>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>


        <div class="rightbar-overlay"></div>
        <!-- /Right-bar -->


        <!-- App js -->
      <script src="/public/assets/js/app.min.js"></script>

        <!-- third party js -->
        <script src="/public/assets/js/vendor/Chart.bundle.min.js"></script>
        <!-- third party js ends -->

        <!-- demo app -->
        <script src="/public/assets/js/pages/demo.project-detail.js"></script>
    </body>
</html>
